Skip to content

Conversation

@deanlee
Copy link
Contributor

@deanlee deanlee commented Nov 4, 2025

  • Moved event handling from render() to _process_mouse_events()
  • Cache hit_rect, touch_valid, in_rect, and slot to remove redundancy calculations; optimizing _process_mouse_events() is critical since it runs for every widget each frame.

@github-actions github-actions bot added the ui label Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

raylib UI Preview

All Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants